# frozen_string_literal: true

require "rails_helper"

RSpec.describe "notices/_summary.html.haml", type: :view do
  let(:notice) { create(:notice, framework: "Rails 3.2.11") }

  it "renders application framework" do
    render "notices/summary", notice: notice, problem: notice.problem

    expect(rendered).to have_content("Rails 3.2.11")
  end
end
